}
pub const USAGE: &'static str = "
+Checkout a copy of a Git repository
+
Usage:
cargo git-checkout [options] --url=URL --reference=REF
cargo git-checkout -h | --help
}
pub const USAGE: &'static str = "
+Print a JSON representation of a Cargo.toml file's location
+
Usage:
cargo locate-project [options]
Options:
- --manifest-path PATH Path to the manifest to build benchmarks for
+ --manifest-path PATH Path to the manifest to locate
-h, --help Print this message
";
--host HOST Host to upload the package to
--token TOKEN Token to use when uploading
--no-verify Don't verify package tarball before publish
- --manifest-path PATH Path to the manifest to compile
+ --manifest-path PATH Path to the manifest of the package to publish
-v, --verbose Use verbose output
-q, --quiet No output printed to stdout
--color WHEN Coloring: auto, always, never
}
pub const USAGE: &'static str = "
+Print a JSON representation of a Cargo.toml manifest
+
Usage:
cargo read-manifest [options]
cargo read-manifest -h | --help
Options:
-h, --help Print this message
-v, --verbose Use verbose output
- --manifest-path PATH Path to the manifest to compile
+ --manifest-path PATH Path to the manifest
--color WHEN Coloring: auto, always, never
";
-p SPEC, --package SPEC ... Package to update
--aggressive Force updating all dependencies of <name> as well
--precise PRECISE Update a single dependency to exactly PRECISE
- --manifest-path PATH Path to the manifest to compile
+ --manifest-path PATH Path to the crate's manifest
-v, --verbose Use verbose output
-q, --quiet No output printed to stdout
--color WHEN Coloring: auto, always, never
try!(ops::update_lockfile(&root, &update_opts));
Ok(None)
}
-
}
pub const USAGE: &'static str = "
+Check correctness of crate manifest
+
Usage:
cargo verify-project [options]
cargo verify-project -h | --help
struct Options;
pub const USAGE: &'static str = "
+Show version information
+
Usage:
cargo version [options]